import service from '../request'

// 住院消费记录
export function hospitalizationExpense_list(){
    return service.get('/hospitalizationExpense',)
}
// 删除
export function hospitalizationExpense_delete(id){
    return service.delete(`/hospitalizationExpense/${id}`,)
}
// 详情
export function hospitalizationExpense_getId(id){
    return service.get(`/hospitalizationExpense/${id}`,)
}
// 模糊查询
export function hospitalizationExpense_getname(name){
    return service.get(`/hospitalizationExpense/?patientName=${name}`,)
}
// 分页
export function hospitalizationExpense_page(page,limit){
    return service.get(`/hospitalizationExpense/?_page=${page}&_limit=${limit}`,)
}


// Inpatientrecharge
// 住院充值记录
export function Inpatientrecharge_list(){
    return service.get('/Inpatientrecharge',)
}
// 删除
export function Inpatientrecharge_delete(id){
    return service.delete(`/Inpatientrecharge/${id}`,)
}
// 详情
export function Inpatientrecharge_getId(id){
    return service.get(`/Inpatientrecharge/${id}`,)
}
// 模糊查询
export function Inpatientrecharge_getname(name){
    return service.get(`/Inpatientrecharge/?patientName=${name}`,)
}
// 分页
export function Inpatientrecharge_page(page,limit){
    return service.get(`/Inpatientrecharge/?_page=${page}&_limit=${limit}`,)
}

// aRefundRecord
// 退款记录
export function aRefundRecord_list(){
    return service.get('/aRefundRecord',)
}
// 删除
export function aRefundRecord_delete(id){
    return service.delete(`/aRefundRecord/${id}`,)
}
// 详情
export function aRefundRecord_getId(id){
    return service.get(`/aRefundRecord/${id}`,)
}
// 模糊查询
export function aRefundRecord_getname(name){
    return service.get(`/aRefundRecord/?patientName=${name}`,)
}
// 分页
export function aRefundRecord_page(page,limit){
    return service.get(`/aRefundRecord/?_page=${page}&_limit=${limit}`,)
}

// Outpatientconsumption
// 门诊消费记录
export function Outpatientconsumption_list(){
    return service.get('/Outpatientconsumption',)
}
// 删除
export function Outpatientconsumption_delete(id){
    return service.delete(`/Outpatientconsumption/${id}`,)
}
// 详情
export function Outpatientconsumption_getId(id){
    return service.get(`/Outpatientconsumption/${id}`,)
}
// 模糊查询
export function Outpatientconsumption_getname(name){
    return service.get(`/Outpatientconsumption/?patientName=${name}`,)
}
// 分页
export function Outpatientconsumption_page(page,limit){
    return service.get(`/Outpatientconsumption/?_page=${page}&_limit=${limit}`,)
}